package com.oig.sys.workflow.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Schema
@Data
public class DataModuleVo {

	@Schema(description = "ID")
	private Integer id;
	@Schema(description = "实体对象名称")
	private String name;
	@Schema(description = "实体对象表名")
	private String tableName;
	@Schema(description = "备注说明")
	private String remark;

	@Schema(description = "状态")
	private String status;

	@Schema(description = "最后更新人id")
	private Integer lastUpdateId;
	@Schema(description = "最后更新人")
	private String lastUpdateName;
	@Schema(description = "最后更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date lastUpdateTime;

	@Schema(description = "版本号")
	private Integer version;

	@Schema(description = "实体对象JSON")
	private String dataJson;

	@Schema(description = "实体对象列列表")
	private List<DataModuleDetailVo> dataModuleDetailVoList;
}
